#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <iostream>
#include <string.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>

#ifndef _SOCKET_H_
#define _SOCKET_H_
#define PORTNUM 13000
#define MAX_MSG_LEN 4096
#define HOSTLEN 256

int make_internet_address(char * host,int portnum,struct sockaddr_in * 
pSockaddr);
int make_client_socket();
int make_server_socket(int port_num);

#endif
